// 维护首页的所有请求
import request from '@/utils/request.js'

export function SignIn (e, l) {
  return request({
    url: '/user/login',
    method: 'POST',
    data: {
      username: e,
      password: l
    }
  })
}

export function Rotation () {
  return request({
    url: '/home/swiper'
  })
}
export function Room () {
  return request({
    url: '/home/groups'
  })
}
